package com.ymttest.database.sharding.db.sharding.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PickInStoreExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PickInStoreExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andPickupTypeIsNull() {
            addCriterion("pickup_type is null");
            return (Criteria) this;
        }

        public Criteria andPickupTypeIsNotNull() {
            addCriterion("pickup_type is not null");
            return (Criteria) this;
        }

        public Criteria andPickupTypeEqualTo(Byte value) {
            addCriterion("pickup_type =", value, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeNotEqualTo(Byte value) {
            addCriterion("pickup_type <>", value, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeGreaterThan(Byte value) {
            addCriterion("pickup_type >", value, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("pickup_type >=", value, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeLessThan(Byte value) {
            addCriterion("pickup_type <", value, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeLessThanOrEqualTo(Byte value) {
            addCriterion("pickup_type <=", value, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeIn(List<Byte> values) {
            addCriterion("pickup_type in", values, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeNotIn(List<Byte> values) {
            addCriterion("pickup_type not in", values, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeBetween(Byte value1, Byte value2) {
            addCriterion("pickup_type between", value1, value2, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("pickup_type not between", value1, value2, "pickupType");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameIsNull() {
            addCriterion("pickup_user_naame is null");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameIsNotNull() {
            addCriterion("pickup_user_naame is not null");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameEqualTo(String value) {
            addCriterion("pickup_user_naame =", value, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameNotEqualTo(String value) {
            addCriterion("pickup_user_naame <>", value, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameGreaterThan(String value) {
            addCriterion("pickup_user_naame >", value, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameGreaterThanOrEqualTo(String value) {
            addCriterion("pickup_user_naame >=", value, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameLessThan(String value) {
            addCriterion("pickup_user_naame <", value, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameLessThanOrEqualTo(String value) {
            addCriterion("pickup_user_naame <=", value, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameLike(String value) {
            addCriterion("pickup_user_naame like", value, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameNotLike(String value) {
            addCriterion("pickup_user_naame not like", value, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameIn(List<String> values) {
            addCriterion("pickup_user_naame in", values, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameNotIn(List<String> values) {
            addCriterion("pickup_user_naame not in", values, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameBetween(String value1, String value2) {
            addCriterion("pickup_user_naame between", value1, value2, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserNaameNotBetween(String value1, String value2) {
            addCriterion("pickup_user_naame not between", value1, value2, "pickupUserNaame");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneIsNull() {
            addCriterion("pickup_user_phone is null");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneIsNotNull() {
            addCriterion("pickup_user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneEqualTo(String value) {
            addCriterion("pickup_user_phone =", value, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneNotEqualTo(String value) {
            addCriterion("pickup_user_phone <>", value, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneGreaterThan(String value) {
            addCriterion("pickup_user_phone >", value, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("pickup_user_phone >=", value, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneLessThan(String value) {
            addCriterion("pickup_user_phone <", value, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("pickup_user_phone <=", value, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneLike(String value) {
            addCriterion("pickup_user_phone like", value, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneNotLike(String value) {
            addCriterion("pickup_user_phone not like", value, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneIn(List<String> values) {
            addCriterion("pickup_user_phone in", values, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneNotIn(List<String> values) {
            addCriterion("pickup_user_phone not in", values, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneBetween(String value1, String value2) {
            addCriterion("pickup_user_phone between", value1, value2, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andPickupUserPhoneNotBetween(String value1, String value2) {
            addCriterion("pickup_user_phone not between", value1, value2, "pickupUserPhone");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartIsNull() {
            addCriterion("user_reserve_time_span_start is null");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartIsNotNull() {
            addCriterion("user_reserve_time_span_start is not null");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartEqualTo(Date value) {
            addCriterion("user_reserve_time_span_start =", value, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartNotEqualTo(Date value) {
            addCriterion("user_reserve_time_span_start <>", value, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartGreaterThan(Date value) {
            addCriterion("user_reserve_time_span_start >", value, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartGreaterThanOrEqualTo(Date value) {
            addCriterion("user_reserve_time_span_start >=", value, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartLessThan(Date value) {
            addCriterion("user_reserve_time_span_start <", value, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartLessThanOrEqualTo(Date value) {
            addCriterion("user_reserve_time_span_start <=", value, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartIn(List<Date> values) {
            addCriterion("user_reserve_time_span_start in", values, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartNotIn(List<Date> values) {
            addCriterion("user_reserve_time_span_start not in", values, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartBetween(Date value1, Date value2) {
            addCriterion("user_reserve_time_span_start between", value1, value2, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanStartNotBetween(Date value1, Date value2) {
            addCriterion("user_reserve_time_span_start not between", value1, value2, "userReserveTimeSpanStart");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndIsNull() {
            addCriterion("user_reserve_time_span_end is null");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndIsNotNull() {
            addCriterion("user_reserve_time_span_end is not null");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndEqualTo(Date value) {
            addCriterion("user_reserve_time_span_end =", value, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndNotEqualTo(Date value) {
            addCriterion("user_reserve_time_span_end <>", value, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndGreaterThan(Date value) {
            addCriterion("user_reserve_time_span_end >", value, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndGreaterThanOrEqualTo(Date value) {
            addCriterion("user_reserve_time_span_end >=", value, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndLessThan(Date value) {
            addCriterion("user_reserve_time_span_end <", value, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndLessThanOrEqualTo(Date value) {
            addCriterion("user_reserve_time_span_end <=", value, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndIn(List<Date> values) {
            addCriterion("user_reserve_time_span_end in", values, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndNotIn(List<Date> values) {
            addCriterion("user_reserve_time_span_end not in", values, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndBetween(Date value1, Date value2) {
            addCriterion("user_reserve_time_span_end between", value1, value2, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andUserReserveTimeSpanEndNotBetween(Date value1, Date value2) {
            addCriterion("user_reserve_time_span_end not between", value1, value2, "userReserveTimeSpanEnd");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdIsNull() {
            addCriterion("pickup_store_id is null");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdIsNotNull() {
            addCriterion("pickup_store_id is not null");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdEqualTo(Long value) {
            addCriterion("pickup_store_id =", value, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdNotEqualTo(Long value) {
            addCriterion("pickup_store_id <>", value, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdGreaterThan(Long value) {
            addCriterion("pickup_store_id >", value, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdGreaterThanOrEqualTo(Long value) {
            addCriterion("pickup_store_id >=", value, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdLessThan(Long value) {
            addCriterion("pickup_store_id <", value, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdLessThanOrEqualTo(Long value) {
            addCriterion("pickup_store_id <=", value, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdIn(List<Long> values) {
            addCriterion("pickup_store_id in", values, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdNotIn(List<Long> values) {
            addCriterion("pickup_store_id not in", values, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdBetween(Long value1, Long value2) {
            addCriterion("pickup_store_id between", value1, value2, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupStoreIdNotBetween(Long value1, Long value2) {
            addCriterion("pickup_store_id not between", value1, value2, "pickupStoreId");
            return (Criteria) this;
        }

        public Criteria andPickupCodeIsNull() {
            addCriterion("pickup_code is null");
            return (Criteria) this;
        }

        public Criteria andPickupCodeIsNotNull() {
            addCriterion("pickup_code is not null");
            return (Criteria) this;
        }

        public Criteria andPickupCodeEqualTo(Long value) {
            addCriterion("pickup_code =", value, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeNotEqualTo(Long value) {
            addCriterion("pickup_code <>", value, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeGreaterThan(Long value) {
            addCriterion("pickup_code >", value, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeGreaterThanOrEqualTo(Long value) {
            addCriterion("pickup_code >=", value, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeLessThan(Long value) {
            addCriterion("pickup_code <", value, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeLessThanOrEqualTo(Long value) {
            addCriterion("pickup_code <=", value, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeIn(List<Long> values) {
            addCriterion("pickup_code in", values, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeNotIn(List<Long> values) {
            addCriterion("pickup_code not in", values, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeBetween(Long value1, Long value2) {
            addCriterion("pickup_code between", value1, value2, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupCodeNotBetween(Long value1, Long value2) {
            addCriterion("pickup_code not between", value1, value2, "pickupCode");
            return (Criteria) this;
        }

        public Criteria andPickupStatusIsNull() {
            addCriterion("pickup_status is null");
            return (Criteria) this;
        }

        public Criteria andPickupStatusIsNotNull() {
            addCriterion("pickup_status is not null");
            return (Criteria) this;
        }

        public Criteria andPickupStatusEqualTo(Byte value) {
            addCriterion("pickup_status =", value, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusNotEqualTo(Byte value) {
            addCriterion("pickup_status <>", value, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusGreaterThan(Byte value) {
            addCriterion("pickup_status >", value, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("pickup_status >=", value, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusLessThan(Byte value) {
            addCriterion("pickup_status <", value, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusLessThanOrEqualTo(Byte value) {
            addCriterion("pickup_status <=", value, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusIn(List<Byte> values) {
            addCriterion("pickup_status in", values, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusNotIn(List<Byte> values) {
            addCriterion("pickup_status not in", values, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusBetween(Byte value1, Byte value2) {
            addCriterion("pickup_status between", value1, value2, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickupStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("pickup_status not between", value1, value2, "pickupStatus");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeIsNull() {
            addCriterion("picked_up_time is null");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeIsNotNull() {
            addCriterion("picked_up_time is not null");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeEqualTo(Date value) {
            addCriterion("picked_up_time =", value, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeNotEqualTo(Date value) {
            addCriterion("picked_up_time <>", value, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeGreaterThan(Date value) {
            addCriterion("picked_up_time >", value, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("picked_up_time >=", value, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeLessThan(Date value) {
            addCriterion("picked_up_time <", value, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeLessThanOrEqualTo(Date value) {
            addCriterion("picked_up_time <=", value, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeIn(List<Date> values) {
            addCriterion("picked_up_time in", values, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeNotIn(List<Date> values) {
            addCriterion("picked_up_time not in", values, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeBetween(Date value1, Date value2) {
            addCriterion("picked_up_time between", value1, value2, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andPickedUpTimeNotBetween(Date value1, Date value2) {
            addCriterion("picked_up_time not between", value1, value2, "pickedUpTime");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Byte value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Byte value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Byte value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Byte value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Byte value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Byte> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Byte> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Byte value1, Byte value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}